package com.example.airquality.air.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.example.airquality.air.entity.QualityIndex;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author hzl
 * @since 2021-05-18
 */
public interface QualityIndexMapper extends BaseMapper<QualityIndex> {
    List<QualityIndex> findAll(IPage page,@Param("qualityIndex")  QualityIndex qualityIndex) ;
    QualityIndex find(Integer qualityId);
    int setQualityId(@Param("air")QualityIndex qu,Integer id);
    void delete(String qualityId);
}
